package abg.core.domain.db;

import abg.core.common.mybatis.config.FieldInsert;
import abg.core.common.mybatis.config.FieldSet;
import abg.core.common.mybatis.config.FieldUpdate;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table(value = "sys_msg_type", onUpdate = FieldUpdate.class, onInsert = FieldInsert.class, onSet = FieldSet.class)
public class SysMsgType extends ZBEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    //PID
    private String pid;

    //当前层级，根节点=0
    private String level;

    //显示顺序，默认为100
    private String sort;

    //备注
    private String remark;

    //分类名
    private String name;

}
